package com.ali.order.enums;

/**
 * @ClassName OrderStatus
 * @Description 订单状态
 * @Author Alistair.Chow
 * @date 2018/12/20 17:15
 * @Version 1.0
 */
public enum OrderStatusEnum {
    /* 新订单 */
    NEW(0, "新订单"),
    /* 完结 */
    FINISH(1, "完结"),
    /* 取消 */
    CANCEL(2, "取消"),
    ;

    private Integer code;
    private String message;

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

    OrderStatusEnum(Integer code, String message){
        this.code = code;
        this.message = message;
    }
}
